export default function (defaultValue = false) {
  const show = ref(defaultValue)
  function open() {
    show.value = true
  }

  function close() {
    show.value = false
  }

  return { show, close, open }
}
